package com.whf.android.jar.constants;

import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 保存定位信息
 *
 * @author qf
 * @version 2023-04-23
 */
public final class LocateConstant {


    /*** 地址 */
    public static final String ADDRESS = "address";
    /*** 纬度 */
    public static final String LATITUDE = "latitude";
    /*** 经度 */
    public static final String LONGITUDE = "longitude";
    /*** 精度信息 */
    public static final String ACCURACY = "Accuracy";
    /*** 国家信息 */
    public static final String COUNTRY = "COUNTRY";
    /*** 省信息 */
    public static final String PROVINCE = "province";
    /*** 城市信息 */
    public static final String CITY = "city";
    /*** 城区信息*/
    public static final String DISTRICT = "district";
    /*** 街道信息*/
    public static final String STREET = "street";
    /*** 街道门牌号信息*/
    public static final String STREET_NUM = "streetNum";
    /*** 城市编码 */
    public static final String CITY_CODE = "CityCode";
    /*** 地区编码 */
    public static final String AD_CODE = "AdCode";
    /*** 当前定位点的AOI信息 */
    public static final String AOI_NAME = "AoiName";
    /*** 当前室内定位的楼层 */
    public static final String FLOOR = "Floor";


    @StringDef({
            ADDRESS, LATITUDE, LONGITUDE,
            COUNTRY, PROVINCE, CITY,
            DISTRICT, STREET, STREET_NUM,
            CITY_CODE, AD_CODE,
            AOI_NAME, FLOOR})
    @Retention(RetentionPolicy.SOURCE)
    public @interface locate {
    }
}
